package com.zhs.study;

import java.util.Date;

/**
 * @author zhenghuisheng
 * @date : 2023/6/5
 */
public class Teacher {
	private Long id;
	private String username;
	private Integer age;
	private String sex;
	private Date createTime;
	private Date updateTime;
	private Integer isDeleted;

	@Override
	public String toString() {
		return "Teacher{" +
				"id=" + id +
				", username='" + username + '\'' +
				", age=" + age +
				", sex='" + sex + '\'' +
				", createTime=" + createTime +
				", updateTime=" + updateTime +
				", isDeleted=" + isDeleted +
				'}';
	}

	public Teacher() {
	}

	public Teacher(Long id, String username, Integer age, String sex, Date createTime, Date updateTime, Integer isDeleted) {
		this.id = id;
		this.username = username;
		this.age = age;
		this.sex = sex;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.isDeleted = isDeleted;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}
}
